import st from './item.module.css'
const FooterItem = ({ text, icon, to }: any) => {
    return <div className={st.item} onClick={() => to()}>
        <span>{icon}</span>
        <span>{text}</span>
    </div>
}
export default FooterItem